Dialog Feature Flag Constants
You can set the following bits in the dialog flags field of the extended dialog resource
'DLOG'
or pass them in the
inFlags
parameter of
NewFeaturesDialog
to specify the dialog box's Appearance-compliant features. Dialog feature flag constants are available with Appearance Manager 1.0 and later.
enum {
kDialogFlagsUseThemeBackground = (1 << 0),
kDialogFlagsUseControlHierarchy = (1 << 1),
kDialogFlagsHandleMovableModal = (1 << 2),
kDialogFlagsUseThemeControls = (1 << 3)
};
Constant descriptions
-
kDialogFlagsUseThemeBackground
-
If this bit (bit 0) is set, the Dialog Manager sets the dialog box's background color or pattern.
-
kDialogFlagsUseControlHierarchy
-
If this bit (bit 1) is set, the Dialog Manager creates a root control in the dialog box and establishes an embedding hierarchy. Any dialog items become controls once the embedding hierarchy is established.
-
kDialogFlagsHandleMovableModal
-
If this bit (bit 2) is set, and the dialog box is a movable modal (specify the
kWindowMovableModalDialogProc
window definition ID), the Dialog Manager handles movable modal behavior such as dragging a dialog box by its title bar or switching out of the application by clicking in another one.
-
kDialogFlagsUseThemeControls
-
If this bit (bit 3) is set, the Dialog Manager creates Appearance-compliant controls in the dialog box directly. Otherwise, push buttons, checkboxes, and radio buttons will be displayed in their pre-Appearance forms when systemwide Appearance is off.
© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98) Previous | Back Up One Level | Next |